﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000547 RID: 1351
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FightFestScoreUpdateNotify : IMessage<FightFestScoreUpdateNotify>, IMessage, IEquatable<FightFestScoreUpdateNotify>, IDeepCloneable<FightFestScoreUpdateNotify>, IBufferMessage
	{
		// Token: 0x17001173 RID: 4467
		// (get) Token: 0x06003CF1 RID: 15601 RVA: 0x000A80F1 File Offset: 0x000A62F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FightFestScoreUpdateNotify> Parser
		{
			get
			{
				return FightFestScoreUpdateNotify._parser;
			}
		}

		// Token: 0x17001174 RID: 4468
		// (get) Token: 0x06003CF2 RID: 15602 RVA: 0x000A80F8 File Offset: 0x000A62F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FightFestScoreUpdateNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001175 RID: 4469
		// (get) Token: 0x06003CF3 RID: 15603 RVA: 0x000A810A File Offset: 0x000A630A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FightFestScoreUpdateNotify.Descriptor;
			}
		}

		// Token: 0x06003CF4 RID: 15604 RVA: 0x000A8111 File Offset: 0x000A6311
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestScoreUpdateNotify()
		{
		}

		// Token: 0x06003CF5 RID: 15605 RVA: 0x000A8119 File Offset: 0x000A6319
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestScoreUpdateNotify(FightFestScoreUpdateNotify other) : this()
		{
			this.oIMHHCMKDKC_ = other.oIMHHCMKDKC_;
			this.scoreId_ = other.scoreId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003CF6 RID: 15606 RVA: 0x000A814A File Offset: 0x000A634A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FightFestScoreUpdateNotify Clone()
		{
			return new FightFestScoreUpdateNotify(this);
		}

		// Token: 0x17001176 RID: 4470
		// (get) Token: 0x06003CF7 RID: 15607 RVA: 0x000A8152 File Offset: 0x000A6352
		// (set) Token: 0x06003CF8 RID: 15608 RVA: 0x000A815A File Offset: 0x000A635A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OIMHHCMKDKC
		{
			get
			{
				return this.oIMHHCMKDKC_;
			}
			set
			{
				this.oIMHHCMKDKC_ = value;
			}
		}

		// Token: 0x17001177 RID: 4471
		// (get) Token: 0x06003CF9 RID: 15609 RVA: 0x000A8163 File Offset: 0x000A6363
		// (set) Token: 0x06003CFA RID: 15610 RVA: 0x000A816B File Offset: 0x000A636B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x06003CFB RID: 15611 RVA: 0x000A8174 File Offset: 0x000A6374
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FightFestScoreUpdateNotify);
		}

		// Token: 0x06003CFC RID: 15612 RVA: 0x000A8182 File Offset: 0x000A6382
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FightFestScoreUpdateNotify other)
		{
			return other != null && (other == this || (this.OIMHHCMKDKC == other.OIMHHCMKDKC && this.ScoreId == other.ScoreId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003CFD RID: 15613 RVA: 0x000A81C0 File Offset: 0x000A63C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OIMHHCMKDKC != 0U)
			{
				num ^= this.OIMHHCMKDKC.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003CFE RID: 15614 RVA: 0x000A8218 File Offset: 0x000A6418
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003CFF RID: 15615 RVA: 0x000A8220 File Offset: 0x000A6420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003D00 RID: 15616 RVA: 0x000A822C File Offset: 0x000A642C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.OIMHHCMKDKC != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.OIMHHCMKDKC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003D01 RID: 15617 RVA: 0x000A8288 File Offset: 0x000A6488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OIMHHCMKDKC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OIMHHCMKDKC);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003D02 RID: 15618 RVA: 0x000A82E0 File Offset: 0x000A64E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FightFestScoreUpdateNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OIMHHCMKDKC != 0U)
			{
				this.OIMHHCMKDKC = other.OIMHHCMKDKC;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003D03 RID: 15619 RVA: 0x000A8330 File Offset: 0x000A6530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003D04 RID: 15620 RVA: 0x000A833C File Offset: 0x000A653C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					if (num != 112U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.OIMHHCMKDKC = input.ReadUInt32();
					}
				}
				else
				{
					this.ScoreId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001838 RID: 6200
		private static readonly MessageParser<FightFestScoreUpdateNotify> _parser = new MessageParser<FightFestScoreUpdateNotify>(() => new FightFestScoreUpdateNotify());

		// Token: 0x04001839 RID: 6201
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400183A RID: 6202
		public const int OIMHHCMKDKCFieldNumber = 14;

		// Token: 0x0400183B RID: 6203
		private uint oIMHHCMKDKC_;

		// Token: 0x0400183C RID: 6204
		public const int ScoreIdFieldNumber = 12;

		// Token: 0x0400183D RID: 6205
		private uint scoreId_;
	}
}
